<!--
 * @Author: liyin 2179253556@qq.com
 * @Date: 2022-11-16 08:34:11
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2025-03-25 11:10:01
 * @FilePath: Footer.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="hl-footer-box">
    <div class="hl-footer-content">
      <el-image :src="require('../../assets/img/icon_copyright@2x.png')"></el-image>
      2009-{{ nowYear }}
      <el-image :src="require('../../assets/img/icon_support@2x.png')"></el-image>
      技术支持：广东宏联科技有限公司
      <el-image :src="require('../../assets/img/icon_hotline@2x.png')"></el-image>
      服务热线：0769-968899
    </div>
  </div>
</template>
<script>
export default {
  name: 'Footer',
  data() {
    return {
      nowYear: '2022'
    }
  },
  mounted() {
    // 获取当前年份
    const date = new Date()
    this.nowYear = date.getFullYear()
  }
}
</script>
<style lang="less" scoped>
.hl-footer-box {
  width: 100%;
  color: #B8C1EB;
  font-weight: 400;
    font-size: 18px;
    color: #B8C1EB;
  text-align: center;
  padding: 20px 0;

  .hl-footer-content {
    display: flex;
    align-items: center;
    justify-content: center;

    .el-image {
      width: 24px;
      height: 24px;
      margin-right: 8px;
      margin-left: 20px;
    }

    .el-image:first-of-type {
      width: 20px;
      height: 20px;
    }
  }
}
</style>
